package org.betasoftware.cloud;

import java.util.HashMap;
import java.util.Map;

public class CloudFileFactory {

	private Map<String, CloudProvider> providers = new HashMap<String, CloudProvider>();
	
	public void addProvider(CloudProvider provider) {
		providers.put(provider.getPrefix(), provider);
	}
	
	public CloudFile create(String url) {
		providers.get("drive://").createOrRetrieve(null);
		return null;
	}
	
}
